package com.engine4cloud.tdf.supervision.dto.query;

import com.engine4cloud.tdf.common.data.web.response.Params;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 矫正对象基本信息查询-请求对象
 *
 * @author wenjie
 * @date 2024-03-14 11:20:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "矫正对象基本信息查询-请求对象")
public class JzdxSimpleQueryDTO extends Params implements Serializable {

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    private String xm;

    /**
     * 具体罪名
     */
    @Schema(description = "具体罪名", example = "15,16")
    private List<String> crimeInfoList;

    /**
     * 审核动作
     */
    @Schema(description = "审核动作", example = "VILLAGE_ACCEPT")
    private String preAction;

    /**
     * 所属部门id，初次加载时不能传部门id
     */
    @Schema(description = "所属部门id", example = "1")
    @NotNull(message = "所属部门id不能为空")
    private Long deptId;
}